package com.shop.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.entity.SupplierCategory;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.data.repository.query.Param;

import java.util.List;

/**
 * (SupplierCategory)表数据库访问层
 *
 * @author makejava
 * @since 2020-11-21 10:12:50
 */
@Mapper
public interface SupplierCategoryMapper extends BaseMapper<SupplierCategory> {
    //查询所有类别.
    List<SupplierCategory> getCategoryList(Integer supplierId);

    List<SupplierCategory> searchSomeByPage(@Param("superSearchKeyWord") String superSearchKeyWord, @Param("supplierCategory") Integer supplierCategory);

    Integer insertSelective(SupplierCategory supplierCategory);

    Integer update(SupplierCategory supplierCategory);
}
